package com.ticket.entity;

import java.time.LocalDate;

/**
 * @author 全谢民
 * @version 8.0
 * @description: TODO 收藏表实体类 v_collect视图
 * @date 2023/10/313:26
 */
public class Collect {

   /* private int collectId;         //收藏编号
    private int userId;            //用户编号
    private int movieId;           //电影编号
    private int stageId;           //舞台活动编号
    private int contestId;         //赛事编号

    public int getCollectId() {
        return collectId;
    }

    public void setCollectId(int collectId) {
        this.collectId = collectId;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getMovieId() {
        return movieId;
    }

    public void setMovieId(int movieId) {
        this.movieId = movieId;
    }

    public int getStageId() {
        return stageId;
    }

    public void setStageId(int stageId) {
        this.stageId = stageId;
    }

    public int getContestId() {
        return contestId;
    }

    public void setContestId(int contestId) {
        this.contestId = contestId;
    }*/

    private int userId;         //用户id
    private int collectId;          //收藏id
    private int activityId;         //内容id
    private String activityType;         //类型
    private String activityPicture; //图片路径
    private String activityName;    //名称
    private String activityAddress; //地址
    private LocalDate activityStartDate;  //开始时间
    private LocalDate activityFinishDate;  //结束时间
    private Float activityStartRange;   //最低价格

    public Collect() {
    }

    public Collect(int userId) {
        this.userId = userId;
    }

    public Collect(int userId, String activityType) {
        this.userId = userId;
        this.activityType = activityType;
    }

    @Override
    public String toString() {
        return "Collect{" +
                "userId=" + userId +
                ", collectId=" + collectId +
                ", activityId=" + activityId +
                ", activityType='" + activityType + '\'' +
                ", activityPicture='" + activityPicture + '\'' +
                ", activityName='" + activityName + '\'' +
                ", activityAddress='" + activityAddress + '\'' +
                ", activityStartDate=" + activityStartDate +
                ", activityFinishDate=" + activityFinishDate +
                ", activityStartRange=" + activityStartRange +
                '}';
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getCollectId() {
        return collectId;
    }

    public void setCollectId(int collectId) {
        this.collectId = collectId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public String getActivityType() {
        return activityType;
    }

    public void setActivityType(String activityType) {
        this.activityType = activityType;
    }

    public String getActivityPicture() {
        return activityPicture;
    }

    public void setActivityPicture(String activityPicture) {
        this.activityPicture = activityPicture;
    }

    public String getActivityName() {
        return activityName;
    }

    public void setActivityName(String activityName) {
        this.activityName = activityName;
    }

    public String getActivityAddress() {
        return activityAddress;
    }

    public void setActivityAddress(String activityAddress) {
        this.activityAddress = activityAddress;
    }

    public LocalDate getActivityStartDate() {
        return activityStartDate;
    }

    public void setActivityStartDate(LocalDate activityStartDate) {
        this.activityStartDate = activityStartDate;
    }

    public LocalDate getActivityFinishDate() {
        return activityFinishDate;
    }

    public void setActivityFinishDate(LocalDate activityFinishDate) {
        this.activityFinishDate = activityFinishDate;
    }

    public Float getActivityStartRange() {
        return activityStartRange;
    }

    public void setActivityStartRange(Float activityStartRange) {
        this.activityStartRange = activityStartRange;
    }
}
